package com.ziyun.pop.modules.erpSupplierOffline.entity;

import com.ziyun.pop.common.e.BaseEnum;

/**
 * @author gaosheng
 * @date 2018-09-21 13:45
 */
public enum ErpSupplierStateEnum implements BaseEnum{

    UN_AUDITED(0, "待审核"),
    IS_AUDITED(2, "已通过"),
    NOT_PASS(3, "驳回"),

    ;

    private int id;
    private String describe;

    ErpSupplierStateEnum(int id, String describe) {
        this.id = id;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return id;
    }

    @Override
    public String toCode() {
        return null;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
